//
//  WYAnimationHelper.h
//  Text
//
//  Created by longtu on 15/5/22.
//  Copyright (c) 2015年 ZI. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface UIImage (WYimage)
// BASE64编码转图片
+ (UIImage *) stringToImage:(NSString *)string;
// 等比率缩放
+ (UIImage *) scaleImage:(UIImage *)image toScale:(float)scaleSize;
// 自定长宽
+ (UIImage *) reSizeImage:(UIImage *)image toSize:(CGSize)reSize;
// 设置图片透明度
+ (UIImage *) image:(UIImage*)image imageAlpha:(CGFloat)alpha;
// 合并2张图片
+ (UIImage *) addImage:(UIImage *)image1 toImage:(UIImage *)image2;
@end

